/**
 * This file is a part of qloudgen-sec. 
 * You can redistribute qloudgen-sec and/or modify it under the terms of the Lesser GNU General Public License version 3. 
 * qloudgen-sec is distributed WITHOUT ANY WARRANTY. 
 *
 * See the Lesser GNU General Public License for more details at http://www.gnu.org/licenses/. 
 **/
 
package org.qloudgen.sec.cas.support.user.services;

public class UserDetail {
	
	/**
	 *
	**/
	private String id = null;
	/**
	 *
	**/
	private String colName = null;
	/**
	 *
	 */
	private String colLength = null;
	/**
	 *
	 */
	private boolean colRequired = false;
	/**
	 *
	 */
	private boolean canDelete = true;
	/**
	 *
	 */
	private String colType = null;
	/**
	 *
	 */
	private String label = null;
	/**
	 * Default constructor.
	 */
	public UserDetail() {
	}

	/**
	 *
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 *
	 */
	//@Id
	public String getId() {
		return id;
	}
	
	/**
	 *
	 */
	public void setColName(String colName) {
		this.colName = colName;
	}
	
	/**
	 * 
	 */
	public String getColName() {
		return colName;
	}

	/**
	 *
	 */
	public void setColLength(String colLength) {
		this.colLength = colLength;
	}
	
	/**
	 * 
	 */
	public String getColLength() {
		return colLength;
	}

  /**
	 *
	 */
	public void setColRequired(boolean colRequired) {
		this.colRequired = colRequired;
	}
	
	/**
	 * 
	 */
	public boolean getColRequired() {
		return colRequired;
	}
	/**
	 *
	 */
	public void setCanDelete(boolean canDelete) {
		this.canDelete = canDelete;
	}
	
	/**
	 * 
	 */
	public boolean getCanDelete() {
		return canDelete;
	}
	/**
	 *
	 */
	public void setColType(String colType) {
		this.colType = colType;
	}
	
	/**
	 * 
	 */
	public String getColType() {
		return colType;
	}
	/**
	 *
	 */
	public void setLabel(String label) {
		this.label = label;
	}
	
	/**
	 * 
	 */
	public String getLabel() {
		return label;
	}
	/**
	 * Output
	 *
	 * @return String
	 */
	@Override
	public String toString() {
		StringBuilder strs = new StringBuilder();
		strs.append( "[UserDetail-->" );
		strs.append( id ).append( ";" );
		strs.append( colName ).append( ";" );
		strs.append( colLength ).append( ";" );
		strs.append( canDelete ).append( ";" );
		strs.append( label ).append( ";" );
		strs.append( colRequired );
		strs.append( "]" );
		//
		return strs.toString();
	}
}
